package com.gskj.eduorder.client;

import com.gskj.commonutils.orderVO.CourseWebVOOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author : Connor-G 康纳-郭
 * @date : 19:13 20.8.17
 * @Company : http://www.gskj.club
 * @Version : 1.0
 */

@Component
@FeignClient(name = "service-edu")
public interface EduClient {

    @GetMapping("/eduservice/course/front/get/courseinfo/order/{id}")
    public CourseWebVOOrder getCousrseInfoOrder(@PathVariable("id") String id);
}
